Introduce nix flake - #81
Conversation
There was a problem hiding this comment.
Please do not add the nix deployment option in the README!
|
Dear Sobottasgithub, I initially prepared this response when your comment still asked whether a Nix flake was needed at all. From my perspective, having the flake is useful because it provides a reproducible development environment and removes a significant amount of setup work for Nix/NixOS users. Without it, contributors using Nix would effectively have to recreate much of this environment themselves before being able to work on DebugTools conveniently. This also applies to users who just want to build packages from the DebugTools on NixOS (or with Nix). Regarding the README, I also think documenting the supported build and development setup is generally good practice. That said, I understand your updated concern about the scope of the Nix-related documentation. I’m happy to adjust the wording or reduce the section to focus primarily on the development environment rather than the deployment/package outputs. Feel free to suggest what scope you would prefer. |
Nix is a powerful build system that is used by more people every day. I thought your project would benefit from a nix flake which adds a devshell for nix users and allows your packages to be build inside of the nix build system.
I tested all packages for functionality.
You can learn more about nix (if required) here: https://nixos.org/